package com.wtb.domain;

import com.wtb.rr.domain.RrDetailInfo;
import com.wtb.utils.DateUtils;

public class AllInfo extends RrDetailInfo{
	private String email;
	private String nick;
	private String location;
	private String qq_name;
	private String q2r;
	
	
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getQq_name() {
		return qq_name;
	}
	public void setQq_name(String qq_name) {
		this.qq_name = qq_name;
	}
	public String getQ2r() {
		return q2r;
	}
	public void setQ2r(String q2r) {
		this.q2r = q2r;
	}
	public String getCreateTime() {
		return DateUtils._toDateString(super.getCreateTime());
	}
	public long getExpires_in() {
		return (super.getExpires_in()-(System.currentTimeMillis()-DateUtils.toMillins_(super.getCreateTime())))/(60*60*24)+60;
	}
	public String getSex() {
		if (super.getSex().equals("1")) {
			return "男";
		}
		return "女";
	}
	
}
